package com.yungu.swift.system.sys.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.PageVo;
import com.yungu.swift.base.model.admin.AdminParam;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.finance.model.param.AdminAccountFlowPageParam;
import com.yungu.swift.system.sys.model.dto.SysAccountPlatformDto;
import com.yungu.swift.system.sys.model.vo.SysAccountPlatformVo;
import com.yungu.swift.system.sys.model.vo.SysPlatformAccountFlowVo;

import java.util.List;

public interface SysAccountPlatformService extends BaseService<SysAccountPlatformDto> {

    /**
     * 根据 appid 得到平台账户信息
     *
     * @param appid
     * @return
     */
    ResponseData<SysAccountPlatformDto> getByAppid(String appid);

    /**
     * 平台金额累计
     *
     * @param adminParam
     * @return
     */
    ResponseData<SysAccountPlatformVo> statistics(AdminParam adminParam);

    /**
     * 查询司机账户流水明细
     *
     * @param flowPageParam
     * @return
     */
    ResponseData<PageVo<SysPlatformAccountFlowVo>> flowQueryPage(AdminAccountFlowPageParam flowPageParam);

    /**
     * 查询司机账户流水明细 —— 导出
     *
     * @param flowPageParam
     * @return
     */
    ResponseData<List<SysPlatformAccountFlowVo>> flowExport(AdminAccountFlowPageParam flowPageParam);

}